package three;

public class Test {
	public static void main(String args[]){
		Feeder  feeder1=new Feeder("yang");
		System.out.println(feeder1.toString());
 
		Lion lion1=new Lion();
		lion1.eat();
		
		Monkey[] mon1={new Monkey(),new Monkey(),new Monkey(),new Monkey(),new Monkey()};
		for(int i=0;i<5;i++){
		mon1[i].eat();
		}
		Pigeo[] pi1={new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo(),new Pigeo()};
		for(int j=0;j<10;j++){
		pi1[j].eat();
		}
		
		
		
	}
	
	
}
